package com.qqtech.qquan.mall.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.common.util.StringUtil;
import com.qqtech.qquan.mall.enums.MallConst;

@SuppressWarnings("serial")
public class MallSubjectVo extends MallSubject{
	public String getPathImg() {
		if (StringUtil.isBlank(this.getImg())) {
			return "";
		}
		return this.getImgHandleDomain() + this.getImg() + MallConst.IMG_SUBJECT;
	}
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}